package cn.funnyxb.powerremember.uis.task.taskEdit;

import android.database.Cursor;
import cn.funnyxb.powerremember.beans.ATask;
import cn.funnyxb.powerremember.beans.AlarmInfo;
import cn.funnyxb.powerremember.db.AllTableHolders;
import cn.funnyxb.powerremember.db.tables.Tbholder_tasksinfo;
import cn.funnyxb.tools.appFrame.App;
import cn.funnyxb.tools.appFrame.activityFrame.AbstractProccessor;
import cn.funnyxb.tools.appFrame.debugTool.Debuger;
import java.util.ArrayList;

public class Proccessor_TaskEdit extends AbstractProccessor
  implements IProccessor_TaskEdit
{
  private IUI_TaskEdit ui;

  public Proccessor_TaskEdit(IUI_TaskEdit paramIUI_TaskEdit)
  {
    this.ui = paramIUI_TaskEdit;
  }

  private void log(String paramString)
  {
    Debuger.log("procceser_taskedit", paramString);
  }

  public void asyncLoadAlarms(int paramInt)
  {
    new 2(this, paramInt).execute(new Void[0]);
  }

  public void asyncLoadWordBases()
  {
    new 1(this).execute(new Void[0]);
  }

  public void asyncSubmit(int paramInt1, int paramInt2, ATask paramATask, ArrayList<AlarmInfo> paramArrayList, String paramString)
  {
    new 3(this, paramInt1, paramATask, paramInt2, paramArrayList, paramString).execute(new Void[0]);
  }

  public void destroy()
  {
    super.releaseResource();
  }

  public boolean isTaskNameExist(String paramString)
  {
    Cursor localCursor = App.getApp().getAllTableHolders().getTbholder_tasksinfo().queryAtaskByName(paramString);
    int j;
    if (localCursor == null)
    {
      j = 0;
      label21: return j;
    }
    if (localCursor.getCount() > 0);
    for (int i = 1; ; i = 0)
    {
      localCursor.close();
      j = i;
      break label21:
    }
  }
}

/* Location:           E:\Desktop\复件 classes_dex2jar.jar
 * Qualified Name:     cn.funnyxb.powerremember.uis.task.taskEdit.Proccessor_TaskEdit
 * JD-Core Version:    0.5.3
 */